.image-prev-mask {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-prev-mask .anim-box {
    transition: all 1s;
    transform-origin: center;
}

.image-prev-mask .prev, .image-prev-mask .next {
    position: absolute;
    top: 50%;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 30px;
    font-family: SimSun, sans-serif;
    font-weight: 900;
    color: white;
    background-color: #cccccc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-prev-mask .prev {
    left: 20px;
}

.image-prev-mask .next {
    right: 20px;
}

.image-prev-mask .prev:active, .image-prev-mask .next:active {
    background-color: #ff705e;
    color: white;
}

@media (min-width: 768px) {
    .image-prev-mask .prev, .image-prev-mask .next {
        position: absolute;
        top: 50%;
        margin-top: -25px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 50px;
        font-family: SimSun, sans-serif;
        font-weight: 900;
        color: white;
        background-color: #cccccc;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .image-prev-mask .prev {
        left: 20px;
    }

    .image-prev-mask .next {
        right: 20px;
    }

    .image-prev-mask .prev:hover, .image-prev-mask .next:hover {
        background-color: #ff705e;
        color: white;
    }
}

.image-prev-mask .anim-box img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    animation: fade-in 1s forwards;
}

@keyframes fade-in {
    from {
        opacity:0.5;
    }
    to {
        opacity:1;
    }
}

body.full-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}